package com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 应用申请表
 * </p>
 *
 * @author XYHT
 * @since 2023-07-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("app_application")
@ApiModel(value = "AppApplication对象", description = "应用申请表")
public class AppApplicationResp implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请表id")
    private String id;

    @ApiModelProperty(value = "应用id")
    private String appId;

    @ApiModelProperty(value = "审批状态[1.待办 2.通过 3.驳回 4.撤回]")
    private Integer allowStatus;

    @ApiModelProperty(value = "用户id（申请人）")
    private String userId;

    @ApiModelProperty(value = "申请人信息")
    private AppApplicationUserResp applyUserInfo;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "审批人信息")
    private AppApplicationUserResp allowUserInfo;

    @ApiModelProperty(value = "审批状态")
    private Integer allowType;

    @ApiModelProperty(value = "审批节点id")
    private String detailId;

    @ApiModelProperty(value = "节点名")
    private String name;

    @ApiModelProperty(value = "数据集合")
    private List<ApplicationDataResp> dataList;

    @ApiModelProperty(value = "节点数据")
    private List<AppProcessNodeDetailResp> detailList;
}
